package com.hsck.order.kds.setup.adapter

import androidx.annotation.LayoutRes
import com.hsck.order.kds.base.bean.CategoryBean
import com.hsck.order.kds.base.common.BaseAdapter
import com.hsck.order.kds.base.common.BaseViewHolder
import kotlinx.android.synthetic.main.item_gldyj.view.*

/**
 * 关联打印机-适配器
 */
class GldyjAdapter(@LayoutRes layoutId: Int) : BaseAdapter<CategoryBean>(layoutId) {


    override fun onBindViewHolder(holder: BaseViewHolder, data: CategoryBean) {

        holder.itemView.tv_item_gldyj.text = data.tagName
        holder.itemView.cb_item_gldyj.isChecked = data.isSelected


    }
}